import './style.css';
import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import 'nprogress/nprogress.css'
import './api'

const app = createApp(App)

app.use(router).use(store)

// Use Validation Options
import { VuelidatePlugin } from '@vuelidate/core'
app.use(VuelidatePlugin)

app.mount('#app')

// const requireComponent = require.context(
//     './components',
//     false,
//     /Base[A-Z]\w+\.(vue|js)$/
// )


// Filters
// import DateFilter from './filters/date'
// Vue.filter('date', DateFilter)